{extend name="base" /}
{block name="title"}后台管理-用户管理{/block}
{block name="main"}

<form action="{:url('doadduser')}" style="margin: 15px;">
    username: <input type="text" name="username" placeholder="username"><br>
    password: <input type="password" name="password" placeholder="password"><br>
    PhoneNumber: <input type="text" name="phoneNum" placeholder="phoneNum"><br>
    StudentNumber: <input required type="text" name="sNumber" placeholder="StudentNumber"><br>
    select your School:<select name="schoolId" id="schoolId">
        {volist name="school" id="vo"}
        <option value="{$vo.schoolId}">{$vo.schoolName}</option>
        {/volist}
    </select><br>
    <input type="submit" value="do">
</form>
</body>
<script src="__STATIC__/assets/js/jquery.min.js"></script>
<script>
    $("input[name='username']").val(Math.random().toString(36).slice(2, 8));
</script>
{/block}
